import React from 'react'
import "@/styles/reset.less"
import "antd/dist/reset.css"
import "@/assets/iconfont/iconfont.less"
import ReactDOM from 'react-dom/client'
import "@/language/index";
import App from './App'
import { Provider } from 'react-redux'
import { PersistGate } from 'redux-persist/integration/react'
import { store, persistor } from "@/redux"

ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
    <Provider store={store}>
        <PersistGate persistor={persistor}>
            <App />
        </PersistGate>
    </Provider>
)
